﻿@{
    Layout = null;
    ViewBag.Title = "LzzcList_ImageOrVideo";
    string docClsName = ViewData["docClsName"] == null ? "最新信息" : ViewData["docClsName"].ToString();
    string docClsCd = ViewData["docClsCd"] == null ? "" : ViewData["docClsCd"].ToString();
}
@using ElingOA6_DSJCJ.Models;
@using Webdiyer.WebControls.Mvc
@model PagedList<ElingOA6_DSJCJ.Model.SysPhrase>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>新区地税廉政之窗</title>
    <link href="@Url.Content("~/Content/style1.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
    <script type="text/javascript">

        function iframeAutoFit() {
            var ex;
            try {
                if (window != parent) {
                    var a = parent.document.getElementsByTagName("IFRAME");
                    for (var i = 0; i < a.length; i++) {
                        if (a[i].contentWindow == window) {
                            var h1 = 0, h2 = 0;
                            if (document.documentElement && document.documentElement.scrollHeight) {
                                h1 = document.documentElement.scrollHeight;
                            }
                            if (document.body) h2 = document.body.scrollHeight;
                            var h = Math.max(h1, h2);
                            if (window.ActiveXObject) { h += 4; }
                            else { h += 4; }
                            a[i].style.height = h + "px";
                            window.removeEventListener('resize', iframeAutoFit, false); //兼容谷歌浏览器时要去掉RISZE监听
                        }
                    }
                }
            }
            catch (ex) { }
        }
    
    </script>

</head>
<body onload="iframeAutoFit()">
        <div class="lc_t"><h3>@docClsName</h3><span><a href="#">首页</a> &gt; <a href="#">@docClsName</a></span></div>
            <div class="paging-content">
            	<ul>
                @foreach (ElingOA6_DSJCJ.Model.SysPhrase documentModel in Model as List<ElingOA6_DSJCJ.Model.SysPhrase>)
                {                             
        	        <li><span><a href="#"><img src="@Url.Content("~/Content/images/pic01.jpg")" alt=""  width="183px" height="124" /></a></span><span class="cn"><a href="#">庄桥所荣膺"工人先锋号"荣誉称号</a></span></li>
                }            
                </ul>
                <div class="clear"></div>
            </div>
        <div class="manu">
            @Html.Pager(Model, new PagerOptions { ContainerTagName = "span", PageIndexParameterName = "id", ShowDisabledPagerItems = false, AlwaysShowFirstLastPageNumber = true, HorizontalAlign = "left", NextPageText = "下一页&gt;", PrevPageText = "&lt;上一页" }, new { style = "text-align:center;width:100%;font-size:12px" })
        </div>
</body>
</html>


